﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

/// <summary>
/// No Access to web.config, manually copy images and / or jar files
/// </summary>
public partial class NoHandlers : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        jload.Archive = "/OptResources/mediautil_z.jar,/OptResources/jumploader_z.jar,/OptResources/sanselan_z.jar";

        jload.AppletParams.Add("vc_uploadViewStartUploadButtonText", "Upload Files");
        jload.AppletParams.Add("vc_uploadViewStartUploadButtonImageUrl", "/OptResources/page_stack_go.png");
        jload.AppletParams.Add("vc_uploadViewStopUploadButtonText", "Cancel Upload");
        jload.AppletParams.Add("vc_uploadViewStopUploadButtonImageUrl", "/OptResources/cancel.png");
        jload.AppletParams.Add("vc_uploadViewStopActionVisible", "true");

        jload.AppletParams.Add("vc_mainViewShowUploadErrors", "true");

        jload.AppletParams.Add("uc_uploadScaledImages", "true");
        jload.AppletParams.Add("uc_scaledInstanceNames", "large, thumb");
        jload.AppletParams.Add("uc_scaledInstanceDimensions", "800x640xmax,100x80xcrop");
        jload.AppletParams.Add("uc_scaledInstanceQualityFactors", "700,700");

        jload.AppletParams.Add("uc_scaledInstancePreserveMetadata", "true");

        //uc_sendFilePath 
    }
}